package com.dxj.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dxj.response.UserInfoVo;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
/**
 * @author dxj
 * @Description 用户实体
 * @date 2024/7/28 13:35
 */

@Data
@AutoMapper(target = UserInfoVo.class)
@TableName(value = "sys_user")
public class User extends BaseEntity {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 用户名
     */
    private String userName;
    /**
     * 名称
     */
    private String nickName;
    /**
     * 密码
     */
    private String passWord;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 删除标志
     */
    @TableLogic
    private Integer delFlag;
}
